from celery import Celery


app = Celery('zxj',broker = 'redis://:@127.0.0.1:6379/1')	# redis没密码


@app.task
def task_tesk():
    print("task is running...")



# task_tesk()